package com.live.http.slider;

import java.util.concurrent.ArrayBlockingQueue;

public class Slider {

	public static void main(String[] args)  throws Exception{
		ListPageChannel channel=new ListPageChannel();
		GetLocation location=new GetLocation(channel);
//		location.putListPagesToChannel();
		
		LoadContent content=new LoadContent(channel);
		
		ThreadPool.execute(location);
		ThreadPool.execute(content);
		
		
//		ArrayBlockingQueue<ListPage> list=channel.getListPageChannel();
//		System.out.println(list);
	}
	
//	public static void savePic(ListPageChannel channel)

}
